<%-- 
    Document   : edit
    Created on : 14.11.2011, 19:58:48
    Author     : x3m
--%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
<%@ page trimDirectiveWhitespaces="true"%>

<jsp:useBean id="manager" class="main.editBean" scope="request">
    <c:set target="${manager}" property="request" value="${pageContext.request}" />
    <c:set target="${manager}" property="response" value="${pageContext.response}" />
    <c:set target="${manager}" property="session" value="${pageContext.session}" />
</jsp:useBean>  
<c:if test="${manager.load}">
    
    <!DOCTYPE html>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <link href="favicon.ico" rel="icon" type="image/x-icon" />
            <link rel="stylesheet" href="style.css" type="text/css" />

            <title>${manager.pageName}</title>
        </head>
        <body>
            ${manager.pageName}
            <form method="POST" >
                ${manager.pageTitle}
                <br />
                ${manager.form}
                <br />
                ${manager.pageSubmitButton}
            </form>
        </body>
    </html>
</c:if>